﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace QuanLyThuNgan
{
    public partial class rpt_BangKeThuoc : DevExpress.XtraReports.UI.XtraReport
    {
        public rpt_BangKeThuoc()
        {
            InitializeComponent();
        }
        public string tendonvi, sohs, sonv, tenbn;
        public dsInThuTien ds = new dsInThuTien();
        private void rpt_BangKeThuoc_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            xrDonVi.Text = tendonvi;
            xrsohso.Text = sohs;
            xrSoNhapVien.Text = sonv;
            xrTenBenhNhan.Text = tenbn;
            xrNgay.Text = Uit.it_Date.CurrentDay() +" Tháng "+ Uit.it_Date.CurrentMonth()+" Năm " + Uit.it_Date.CurrentYear()+".";
            this.DataSource = ds;

        }

    }
}
